[INFO] fetching crate lunka 0.12.0...
[INFO] checking lunka-0.12.0 against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478
[INFO] extracting crate lunka 0.12.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate lunka 0.12.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate lunka 0.12.0
[INFO] tweaked toml for crates.io crate lunka 0.12.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lunka 0.12.0 on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lunka 0.12.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:59:1
[INFO] [stderr]    |
[INFO] [stderr] 59 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `lunka` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5
[INFO] running `Command { std: "docker" "start" "5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:59:1
[INFO] [stderr]    |
[INFO] [stderr] 59 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `lunka` (manifest) generated 1 warning
[INFO] [stderr]    Compiling current_platform v0.2.0
[INFO] [stderr]    Compiling cc v1.2.31
[INFO] [stderr]    Compiling lunka-src v54.8.0
[INFO] [stderr]    Compiling lunka v0.12.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `c_int_enum`
[INFO] [stdout]    --> src/cdef/mod.rs:202:16
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub(crate) use c_int_enum;
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `c_int_enum`
[INFO] [stdout]    --> src/cdef/mod.rs:202:16
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub(crate) use c_int_enum;
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/cdef/auxlib.rs:49:2
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
[INFO] [stdout]    |                              --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub func: Option<CFunction>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/cdef/auxlib.rs:49:2
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
[INFO] [stdout]    |                                                         --- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub func: Option<CFunction>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/cdef/auxlib.rs:49:2
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
[INFO] [stdout]    |                              --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub func: Option<CFunction>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/cdef/auxlib.rs:49:2
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
[INFO] [stdout]    |                                                         --- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub func: Option<CFunction>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Managed::<'_>::set_field` is unsafe and requires unsafe block
[INFO] [stdout]   --> examples/os2.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 |         mg.set_field(-2, c"type");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> examples/os2.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | unsafe extern "C-unwind" fn l_metadata(l: *mut LuaState) -> c_int {    
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Managed::<'_>::set_field` is unsafe and requires unsafe block
[INFO] [stdout]   --> examples/os2.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 |         mg.set_field(-2, c"len");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Managed::<'_>::set_field` is unsafe and requires unsafe block
[INFO] [stdout]   --> examples/os2.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 mg.set_field(-2, c"modified");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: CRATER ERROR: C-variadic argument with type `&CStr`.
[INFO] [stdout]   --> examples/interpreter.rs:50:70
[INFO] [stdout]    |
[INFO] [stdout] 50 |     unsafe { lua_push_fmt_string!(lua, c"(error object is a %s value)", lua.type_name_of(1)) };
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `&CStr` does not implement `VaArgSafe`
[INFO] [stdout]   --> examples/interpreter.rs:50:70
[INFO] [stdout]    |
[INFO] [stdout] 50 |     unsafe { lua_push_fmt_string!(lua, c"(error object is a %s value)", lua.type_name_of(1)) };
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: values passed as C-variadic arguments must implement `core::ffi::VaArgSafe`
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #162483 <https://github.com/rust-lang/rust/issues/162483>
[INFO] [stdout]    = note: requested on the command line with `--force-warn invalid-c-variadic-arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `lunka::Thread::from_ptr` is unsafe and requires unsafe block
[INFO] [stdout]   --> examples/os2.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let lua = LuaThread::from_ptr(l);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> examples/os2.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | unsafe extern "C-unwind" fn luaopen_os2(l: *mut LuaState) -> c_int {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lunka` (example "interpreter") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `std::hint::unreachable_unchecked` is unsafe and requires unsafe block
[INFO] [stdout]   --> examples/string_enum.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |             _ => ::core::hint::unreachable_unchecked(),
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> examples/string_enum.rs:26:2
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe fn from_index_unchecked(index: usize) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5", kill_on_drop: false }`
[INFO] [stdout] 5b9400bba2ebb73b4be0efacdc8424bcd5ae2035b9f5cf6606294c5082f9fca5
